<#include "/layout/layout.ftl">
<#import "/layout/macro.ftl" as macro>
<#import "/layout/select.ftl" as my/>
<#assign css>
<#--此ftl中用到的css-->
    <style>
        .col-sm-9{
            padding-top:7px;
        }
    </style>
</#assign>
<#assign js>
<#--此ftl中用到的js-->
<script>
</script>
</#assign>
<@layout title="详情" active="master">
<!-- Content Header (Page header) -->
<section class="content-header">
	<h1>
		<small>师傅管理详细信息</small>
	</h1>
	<ol class="breadcrumb">
		<li><a href="/"><i class="fa fa-home"></i> 管理后台</a></li>
		<li><a href="#"><i class="fa fa-list-ul"></i> 师傅管理管理</a></li>
		<li class="active"><i class="fa fa-edit"></i>详细信息</li>
	</ol>
</section>
<!-- Main content -->
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<!-- Default box -->
			<div class="box  box-primary">
				<form class="form-horizontal form-edit" method="post" action="">
					<div class="box-body">
						<input type="hidden" id="id" name="id" value="${master.id!}">
<#--						<div class="form-group"><label class="col-sm-3 control-label">：</label><div class="col-sm-9">${master.id!}</div></div>-->
	<#--            <div class="form-group"><label class="col-sm-3 control-label">用户id：</label><div class="col-sm-9">${master.userId!}</div></div>-->
					<div class="form-group"><label class="col-sm-3 control-label">分站id：</label><div class="col-sm-9">${master.agentId!}</div></div>
					<div class="form-group"><label class="col-sm-3 control-label">师傅姓名：</label><div class="col-sm-9">${master.masterName!}</div></div>
						<div class="form-group"><label class="col-sm-3 control-label">身份证号：</label><div class="col-sm-9">${master.idCard!}</div></div>

						<div class="form-group"><label class="col-sm-3 control-label">手机号：</label><div class="col-sm-9">${master.phone!}</div></div>
						<div class="form-group"><label class="col-sm-3 control-label">总收益：</label><div class="col-sm-9">${master.totalIncome!}</div></div>
						<div class="form-group"><label class="col-sm-3 control-label">余额：</label><div class="col-sm-9">${master.accountBalance!}</div></div>
						<div class="form-group"><label class="col-sm-3 control-label">评分：</label><div class="col-sm-9">${master.score!}</div></div>
						<div class="form-group"><label class="col-sm-3 control-label">身份证正反面照：</label>
							<div class="col-sm-3">
								<img style="width: 358px;height: 441px"  src="${master.cardPositive!}">
								<img style="width: 358px;height: 441px" src="${master.cardNegative!}">
							</div>
						</div>
						<div class="form-group"><label class="col-sm-3 control-label">头部照片：</label>
							<div class="col-sm-9">
								<img style="width: 150px;height: 150px" src="${master.headPic!}">
							</div>
						</div>
						<div class="form-group"><label class="col-sm-3 control-label">银行卡信息：</label><div class="col-sm-3">${master.bankCardNumber!}</div></div>
					<div class="form-group"><label class="col-sm-3 control-label">服务类型：</label>
						<div class="col-sm-3">
							<input type="checkbox" name="serviceType" id="service_paotui" value="1" <#if master.serviceType! == '1' || master.serviceType! == '2' >checked="checked"</#if> disabled>
							<label for="tranType_status_normal" style="margin-left: 5px;margin-right: 5px">跑腿</label>
							<input type="checkbox" name="serviceType" id="service_other" value="2" <#if master.serviceType! == '3' || master.serviceType! == '2'>checked="checked"</#if> disabled>
							<label for="tranType_other" style="margin-left: 5px;margin-right: 5px">技能</label>
						</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label"></label>
							<div class="col-sm-3">
								<#list master.serviceTypeList as item><input type="checkbox" name="skillType" id="service_other+${item.code!}" value="${item.id!}" <#if item.level! == 1 >checked="checked" <#else></#if> disabled>
									<label for="tranType_other+${item.id!}" style="margin-left: 5px;margin-right: 5px">${item.name!}</label></#list>
							</div>
						</div>
						<div class="form-group"><label class="col-sm-3 control-label">状态：</label>
							<input type="radio" name="status" id="status_normal" value="1" <#if master.status! == '1'>checked="checked"</#if> disabled>
							<label for="tranType_status_normal" style="margin-left: 5px;margin-right: 5px">正常</label>
							<input type="radio" name="status" id="status_other" value="2" <#if master.status! == '2'>checked="checked"</#if> disabled>
							<label for="tranType_other" style="margin-left: 5px;margin-right: 5px">暂停</label></div>
						<div class="form-group"><label class="col-sm-3 control-label">待认证：</label>
							<div class="col-sm-3">
								<input type="radio" name="auth_status" disabled id="auth_status" value="0 <#if master.authStatus! == '1'>checked="checked"</#if>>
								<label for="tranType_auth_status" style="margin-left: 5px;margin-right: 5px">待认证</label>
								<input type="radio" name="auth_status" id="auth_status_other" value="1" <#if master.authStatus! == '2'>checked="checked"</#if> disabled>
								<label for="tranType_other" style="margin-left: 5px;margin-right: 5px">已认证</label>
								<input type="radio" name="auth_status" id="auth_status_no" value="1" <#if master.authStatus! == '3'>checked="checked"</#if> disabled>
								<label for="tranType_other" style="margin-left: 5px;margin-right: 5px">被拒绝</label></div></div>
					</div>
					</div>
		<#--			<div class="form-group"><label class="col-sm-3 control-label">数据状态：</label><div class="col-sm-9">${convert('DATA_STATUS',master.status)!}</div></div>-->
<#--            <div class="form-group"><label class="col-sm-3 control-label">创建时间：</label><div class="col-sm-9">${master.createDt!}</div></div>-->
<#--            <div class="form-group"><label class="col-sm-3 control-label">更新时间：</label><div class="col-sm-9">${master.updateDt!}</div></div>-->
<#--            <div class="form-group"><label class="col-sm-3 control-label">服务类型：</label>-->
<#--				<div class="col-sm-9">-->
<#--					<#if master.serviceType == '0'>-->
<#--						配送员-->
<#--					<#else>-->
<#--						技术员-->
<#--					</#if></div></div>-->
					<div class="box-footer">
						<button type="button" class="btn btn-default btn-back">返回</button>
					</div>

				</form>
			</div>
			<!-- /.box -->
		</div>
	</div>
</section>
<!-- /.content -->
</@layout>
